// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
#pragma once

#ifdef _WIN32
#include <windows.h> 
#endif
#include <GL/gl.h>
#include <GL/glut.h> 
#include <math.h>
#include <vector>
#include <iostream>


float DAMPING = 0.01; // how much to damp the cloth simulation each frame
float CONSTRAINT_ITERATIONS = 2; // how many iterations of constraint satisfaction each frame (more is rigid, less is soft)

#include "Vec3.h"
#include "Particle.h"
#include "Constraint.h"
#include "Cloth.h"

#ifndef GLOBALS
#define GLOBALS

float ballX = 7;
float ballY = -5;
float ballZ = 0;

float clothHeight = 20.0f;
float clothWidth = 20.0f;
int clothTesselation = 20;

Vec3 ball_pos(ballX,ballY,ballZ); // the center of our one ball
Cloth* cloth1 = new Cloth(clothHeight,clothWidth,clothTesselation,clothTesselation); // one Cloth object of the Cloth class
#endif

#include "SimulationSpace.h"
#include "OpenGL.h"

#include "Form1.h"
